<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property int $id ID
 * @property int $scene 场景值
 * @property string $title 邮件标题
 * @property string $content 邮件内容
 * @property string $params 参数
 * @property int $edit_time 添加时间
 */
class EmailTemplate extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'email_template';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'scene', 'title', 'content', 'params', 'edit_time'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'scene' => 'integer', 'edit_time' => 'integer'];
}
